<span id="popup" style="<?php echo !empty ($isHidden) ? 'display: none;' : ''; ?>">
<div class="overlay"></div>
<div class="overlayInner">
  <div class="overlayBody">
    <div><a id="close_popup" href="javascript:void(0);">close</a></div>
  <div class="overlayContent" id="<?php echo !empty ($contentId) ? $contentId : 'content_id'; ?>">
    <?php echo !empty ($content) ? $content : ''; ?>
  </div>
  </div>
</div>
</span>